package org.fast.project.service.transfer;

import org.fast.project.dao.po.UserPO;
import org.fast.project.service.bo.AddUserDO;
import org.fast.project.service.bo.UserDO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * 用户对象转转换
 *
 * @author junG
 * @date 2022/11/27
 */
@Mapper(componentModel = "spring")
public interface UserPo2DoTransfer {

    UserDO poToDo(UserPO userPo);

    List<UserDO> poToDo(List<UserPO> userPoList);

    UserDO addDoToDo(AddUserDO addUserDo);

}
